<div class="nav">
    <a  href="{:U('index')}">配送方式列表</a>
    <a href="{:U('add')}">添加配送方式</a>
    <a class="sel" href="{:U('takeself')}">自提点管理</a>
    <a href="{:U('takeself_add')}">添加自提点</a>
</div>
<div class="list">
    <table class="table_list">
        <thead>
            <tr>
                <td>自提点名称</td>
                <td >地区</td>
                <td>详细地址</td>
                <td width="100px">手机</td>
                <td width="100px">电话</td>
                <td width="60px">顺序编号</td>
                <td width="60px">启用</td>
                <td width="120px">操作</td>
            </tr>
        </thead>
        <tbody> 
        <foreach name="list" item="list">
            <tr>
            <td>{$list.name}</td>
            <td>{$list.province} {$list.city} {$list.area}</td>
            <td>{$list.address}</td>
            <td>{$list.phone}</td>
            <td>{$list.tel}</td>
            <td class="edit_input" attr_t="order_id" attr_id="{$list.id}">{$list.order_id}</td>
            <td class="edit_toggle" attr_t="is_enable" attr_id="{$list.id}">{$list.is_enable}</td>
            <td>
                <a class="btn_a" href="{:U('takeself_edit',Array('id'=>$list['id']))}">修改</a>&nbsp;
                <a class="btn_a2" href="{:U('takeself_del',Array('id'=>$list['id']))}" onclick="return confirm('确定删除吗？')">删除</a></td>
            </tr>
        </foreach>
        </tbody>
        <tfoot>
            <tr><td colspan="9"><div class="page">{$page}</div></td></tr>
        </tfoot>
    </table>
</div>

